/****************************************************************************
* @file    GPIO/IOToggle/main.c 
* @author  Thong Nguyen
* @version V3.5.0
* @date    08-April-2011
* @brief   Main program body.
*****************************************************************************/ 

#include "SysTick.h"
#include "LedDriver.h"
#include "Capture.h"
#include "Pc.h"
#include "System.h"


int main(void)
{
    // initialize system
    cSysTick::InitReset();
    cLedDriver::InitReset();
    cCapture::InitReset();
    cPc::InitReset();
    cSystem::InitReset();

    // run main loop
    while (1)
    {
        cLedDriver::RunOne();
        cCapture::RunOne();
        cPc::RunOne();
        cSystem::RunOne();
    }
}
